/*
	Tester file for Shape hierarchy.

	Creates an array of shapes, then prints them.

	Make sure your program produces output shown in accompanying output file
	for this part.

	DO NOT MODIFY THIS FILE

*/

public class Part1Tester
{
	private static int MAX_SHAPES = 5;

	public static void main(String [] args)
	{
		Shape [] shapes = new Shape[MAX_SHAPES];

		System.out.println("Create some squares and circles...");

		shapes[0] = new Square(4);
		shapes[1] = new Circle(1);
		shapes[2] = new Square(8);
		shapes[3] = new Circle(2);
		shapes[4] = new Square(4);

		System.out.println("\nand then print them out...");
		for (int i = 0; i < shapes.length; i++)
			System.out.println(shapes[i]);


	}// end main method

}//end class ShapeTester